home *** CD-ROM | disk | FTP | other *** search
/ Loadstar 128 25 / q25.d81 / t.clock 40 < prev    next >
Text File  |  2022-08-28  |  2KB  |  49 lines

  1.  
  2.  
  3.  
  4.                               C L O C K   4 0
  5.  
  6.                               by David Zammat
  7.  
  8.  
  9.     This is one of the first 40-column programs we've had in a long time.
  10. It uses DOODLE pics to show one of four stylish clocks on the 40-column
  11. screen and then uses the BASIC 7.0 DRAW command to draw hands on the clock.
  12. These move according to the internal clock of the computer, effectively
  13. turning your C-128 into a big mantel clock.  Since it's nice for a computer
  14. program to do something that a "real life" object can't, there's  the option
  15. of having a digital readout appear in the top left part of the screen.
  16.  
  17.     David Zammat wrote several versions of this program on the way to the
  18. final version.  At first, he used an unusual (yet sophisticated) method of
  19. saving the variable tables in BANK1 as a file to be loaded.  He used a
  20. special version of the program to create the numerous variables the program
  21. uses, then saved BANK1.  Then, his next version simply had to BLOAD the
  22. variable file rather than re-create them.  It sped up set-up time a lot.
  23.  
  24.     However, I wasn't content to have just one clock, so I digitized three
  25. more clocks (using HandyScanner and DOODLE) and asked him to redo the
  26. program so the user would have a choice of clocks.  David came through with
  27. some more programming expertise and now you have a choice of clocks, a
  28. digital clock, and a very interesting program.  He also figured out a way to
  29. use DATA statements in the program without slowing the program down too
  30. much.
  31.  
  32.     The program is straightforward.  Pick one of the clocks and enter the
  33. current time.  Then choose to have a digital clock (or not) and sit back and
  34. enjoy.  The program even has sound.  It beeps higher as the second hand
  35. approaches 12.  If you want to exactly synchronize the clock with another,
  36. the program waits for you to press a key before really starting.
  37.  
  38.     The orange background looks great on one of my monitors and lousy on the
  39. other.  If you want to change colors change the 9s in line 72 to something
  40. else.
  41.  
  42.     David did a great job of handling all of the data for each hand on each
  43. clock.  I'm looking forward to seeing more programs by him in the future.
  44.  
  45. FT
  46.  
  47.                    \\\\\ R - Run    RETURN - Menu \\\\\
  48.  
  49.